import CodeBlock from "@theme/CodeBlock";

# Custom list parser

This output parser can be used when you want to return a list of items with a specific length and separator.

import CustomList from "@examples/prompts/custom_list_parser_sequence.ts";

import IntegrationInstallTooltip from "@mdx_components/integration_install_tooltip.mdx";

<IntegrationInstallTooltip></IntegrationInstallTooltip>

```bash npm2yarn
npm install @langchain/openai
```

<CodeBlock language="typescript">{CustomList}</CodeBlock>
